/*
   @Copyright:LibreOJ
   @Author:   tjyemail
   @Problem:  https://loj.ac/problem/3
   @Language: C++
   @Datetime: 20-07-30 14:07
   */
// test

#include <bits/stdc++.h>
using namespace std;
#define MAX 1005
char buf[MAX];

int main()
{
	freopen("copycat.in", "r", stdin);
	freopen("copycat.out","w", stdout);
	int T;
	for(scanf("%d", &T); T--;){
		scanf("%s", buf);
		printf("%s\n", buf);
	}
	fclose(stdin);
	fclose(stdout);
	return 0;
}
